package com.zhangye.test.mapper;

import com.zhangye.test.model.Interview;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface InterviewMapper {
	
    int deleteByPrimaryKey(Long id);

    int insert(Interview record);

    Interview selectByPrimaryKey(Long id);

    List<Interview> selectAll();

    int updateByPrimaryKey(Interview record);

    List<Interview> selectByWhere(@Param("where") String where);
    
    int deleteByWhere(@Param("where") String where);
}